﻿#ifndef GETDEVINFOS_H
#define GETDEVINFOS_H
#include <QHostAddress>
#include <QHostInfo>


const QString strUninstall =
    "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\";
const QString strPublisher = "Publisher";
const QString strDisplayName = "DisplayName";
const QString strDisplayIcon = "DisplayIcon";
const QString strDisplayVersion = "DisplayVersion";
const QString strInstallLocation = "InstallLocation";
const QString strUninstallString = "UninstallString";

class GetDevInfos
{
public:
    GetDevInfos();

    QString getLoginUserName(); // 获取登录用户名

    QString getHostName(); // 获取hostname

    QString getOsVersion(); // 获取系统版本

    QString getOsMemory();  // 获取磁盘及磁盘空间

    QString getIPv4();

    QString getMac();

    QString getSoftware();

    QString getCPU();


};

#endif // GETDEVINFOS_H
